package day12;

/**
 * @author oldliu
 * @since 1.0
 */
public class Machine {
    public String name;
    public static  String Dianya="220V";

    public static class Refrigerator{
        private String brand;
        private int cap;//容量

        public Refrigerator(String brand, int cap) {
            this.brand = brand;
            this.cap = cap;
        }

        public void show(){
            System.out.println("Zhege冰箱品牌是"+brand+",容量是"+cap+"升");
            System.out.println(Machine.Dianya);
        }
    }
    public static class TV{

    }

}
